package com.kgc.scd.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * sign
 * @author 
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SignVO implements Serializable {

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 签到时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date signdate;

    private static final long serialVersionUID = 1L;

}